import * as types from './types'

export default {
    login: ({commit}) => {
        commit(types.LOGIN);
    },
    getuserinfo: ({commit}) => {
        commit(types.GETUSERINFO);
    },
    UpDataSK: ({commit})=> {
        commit(types.UPDATASK);
    },
    getTeachingmaterial: ({commit})=> {
        commit(types.GETTEACHINGMATERIAL);
    },
    getMyClass: ({commit})=> {
        commit(types.MYCLASS);
    },
    xuanban:({commit})=>{
        commit(types.XUANBAN,event);
    },
    confirmTextBook:({commit})=>{
        commit(types.CONFIRMTEXTBOOK,event);
    },
    chooseJIAOCAI:({commit})=>{
        commit(types.CHOOSEJIAOCAI,event)
    },
    chooseZHANGJIE:({commit})=>{
        commit(types.CHOOSEZHANGJIE,event)
    },
    chooseKESHI:({commit})=>{
        commit(types.CHOOSEKESHI,event)
    },
    TOUCHMOVE:({commit})=>{
        commit(types.TOUCHMOVE,event)
    }
}